﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using FortuneHeaven.Web.Common;
using FortuneHeavenBAL;
using FortuneHeavenCommon.DataMap;

namespace FortuneHeaven.Web.Controls
{
    public partial class PageLeft : System.Web.UI.UserControl
    {
        public string[] showvalue = null;
        protected void Page_Load(object sender, EventArgs e)
        {
           
             //<li>
             //          <span class="left"><a href="javascript://"><img src="images/dy.jpg"></a></span>
             //          <span class="right">2011-11-12.10.30.14
             //          asd***adad成功推广用户<em class="num weightt">88</em>个，获得了<em class="numm weightt">5.00</em>元分红
             //          <br>
             //          </span>
             //        </li>

            if (Request["newsname"] == "推广员")
            {
                this.moneyshow.Visible = true;
                NewsBO newbo = new NewsBO();
                News list = newbo.GetNewsByTitle("推广页面滚动条");
                if (list != null)
                {
                    string content = list.Content;
                    showvalue = content.Split('|');
                }
            }
        }
    }
}